Deviant · On-chain governance protocol

Athenae Politeia Ἀθηναίων Πολιτεία · The Athenian State

The classical apparatus — sortition, scrutiny, accountability — restored and improved as CashScript covenants on Bitcoin Cash. Each ancient office becomes a contract that cannot lie: no magistrate to bribe, no archon to forge the roll, no herald to miscount.

SubstrateBitcoin Cash · CashTokens · CashScript
DeploymentSeparate dApp; wallet is signing partner only
VerificationChipnet-validated Phases A–F + on-chain pre-gate
Referenceathenae_protocol_technical_spec_v0_1.md
α

The Five Tiers τάξεις

Movement is bidirectional and symmetric: the process that admits also demotes. Every privilege is contestable through the machinery that granted it. No tier is above the machinery.

Νομοθέτης
Nomothetes · Founder
0x04 The lawgiver. Permanent by deliberate choice, not auto-sunset. Bootstrap authority + reserve crisis role. Bounded action scope — cannot draw treasury or change parameters. Constrained by the eight-layer mitigation stack (§ε).
Νομοφύλακες
Nomophylakes · Elder
0x03 The guardians of the laws — literal meaning of the Athenian office. Rare, hard to earn, hard to lose. Constitutional check: quorum can freeze a pending founder action; unanimous consent required for elevated demotions. The νομ- root (law) shared with Nomothetes encodes the adjacency — the guardians sit next to the lawgiver.
Βουλευταί
Bouleutai · Delegated Member
0x02 The sortitioned council — the Boule. Privileged attester; vouches in the delegated chamber of the admission flow. Earns a 60% share of the per-vote reward (Polites earn 40%) as an incentive ladder.
Πολίτης
Polites · Citizen
0x01 Right to vote in any poll; vouches in the regular chamber of admissions. Citizenship is carried as a Pinakion — the bronze citizen ID ticket that in Athens was slotted into the kleroterion for allotment.
Μέτοικοι
Metoikoi · Base
Free participants — the Athenian metics. Full economic access; no vote, no political influence, no decision power. The pool from which Polites are admitted. Uses the wallet ≠ votes in the network.
Load-bearing property The qualification machinery is immutable. Not modifiable by any vote — not Citizen majority, not Elder unanimity, not the Founder. Set at deployment, runs as deployed. There is no constitutional amendment pathway by design. Layer A (machinery) is fixed; Layer B (what qualified electorates decide within the machinery) is fully open.
β

Admission Flow τρία στάδια

Three independent gates, in order. Neither voting chamber is candidate-controlled — endorsers prove social existence; both voting chambers are sortitioned after. The candidate's allies act only in the auditable pre-gate.

start
Μέτοικος
Applicant
A Metic — no vote, no CitizenToken. Wishes to enter the Polites cohort.
Ι · pre-gate
Δοκιμασία
Dokimasia
15 endorsements from existing Polites (any voting rank). Each endorsement is a transaction co-spent with the endorser's CitizenToken — the chain verifies voting-rights at the moment of endorsement. ContractEndorsementCovenant · on-chain
ΙΙ · regular chamber
Ἐκκλησία
Citizen sortition
29 Polites drawn randomly by future-block-hash entropy. Application passes if 15 of the 29 vote YES. Streaming juror replacement — no-show does not stall. ContractApplicationCovenant + Kleroterion
ΙΙΙ · delegated chamber
Βουλή
Delegated sortition
29 Bouleutai drawn independently from the delegated pool. 15 of 29 YES needed. Admission consummates: founder mints new Pinakion at rank 0x01. ResultNew Polites admitted
Why sortition destroys the bloc attack An attacker cannot bribe a specific 15 Polites and have them be the ones sortitioned — the chain draws randomly from the full pool after the application opens. Bribing a fixed small group is essentially useless; reliable capture requires bribing a large fraction (~60%) of the entire pool, per-attempt probabilistically.
The 29-attempt cap Standard: 29 attempts / 15 YES ≈ 52% support threshold (majority filter). Strict mode: 21 attempts / 15 YES ≈ 71% (elder admissions, constitutional demotions). Fail-fast: 15 NO votes end the application. Each cap encodes a community inclusion-vs-exclusion philosophy.
γ

Covenant Stack μηχανική

The Athenian institutions rebuilt as CashScript covenants. Greek terms are the brand/display layer; code identifiers are unchanged. Each ancient office becomes a contract that cannot lie.

CodeBrand (Greek)In AthensIn AthenaeStatus
CitizenToken Pinakion Bronze citizen ID ticket, slotted into the kleroterion Per-member identity token that grants the vote. 1-byte rank in commitment. ✓
EndorsementCovenant Dokimasia Scrutiny/vetting before admission or office On-chain pre-gate proving social existence via co-spent CitizenToken. ✓
ApplicationCovenant Engraphe Enrolment of a citizen onto the deme roll The admission/demotion state machine (Phases A → E, bicameral + cap + fee + secret ballot). ✓
RegistryState Katalogos The official citizen roll Member registry holding the adaptive threshold; co-spend-as-oracle for consumers. ✓
sortition idiom Kleroterion The allotment machine — selected the Boule by lot Not a separate covenant — embedded inside ApplicationCovenant. Pins a future block height as entropy; the block hash deterministically selects jurors from the pool. Streaming replacement on no-show. ✓
BallotCovenant Psephos The voting pebble Per-poll ballot issuance/consumption with commit-reveal for secret ballot. ✓
PollCovenant Ekklesia The citizen Assembly that convened the vote Per-voter allowlisted poll. Sybil resistance in the upstream issuer. ✓
TallyState Diapsephisis The taking & counting of the vote Trustless on-chain tally with readOnly() co-spend path. ✓
ComplaintCovenant Euthynai Mandatory accountability audit of every official Rising-cost complaint counter with Elder escalation threshold. ✓
ElderFreezeAction Graphe Paranomon Suit against an unconstitutional decree — suspended it Elder quorum freezes a founder action; routes to community vote. ✓
demotion outcome Ostracism Removal by community vote Not a separate covenant — the same ApplicationCovenant machinery that admits produces the demotion outcome. Bidirectional symmetry: the process that grants also revokes. ✓
RemovalBondEscrow — — Bond + fee routing for removals and the treasury. Phase G wiring. 🔧
δ

Adaptive Schedule προσαρμοζόμενον

Confirmations, chamber strictness, pre-gate size, and fee all scale with member count. Bootstraps simply; hardens as it grows. The schedule is hard-coded in the contract — Layer A immutable.

Formulas

conf = min(15, ceil(memberCount / 100)) cap = max(2, 2·conf − 1) pre-gate = conf fee = floor(conf · baseFee)

At N=100, the schedule requires 1 endorsement + 1-of-2 in each chamber (50% filter). By N=1500+ it has ratcheted to full 15 endorsements + 15-of-29 in both chambers (52% filter — strictest where the network is most fragile; honest-majority where multi-dimensional defenses carry the load).

PhaseN (members)Pre-gateEach chamberNotes
00–99—Founder grantsViral bootstrap
1100–19911 of 2 · 50%Bicameral opens
2200–29922 of 3 · 67%—
3300–39933 of 5 · 60%Elders open
5500–59955 of 9 · 55%—
101000–10991010 of 19 · 52%—
151500+1515 of 29 · 52%Mature

Elder emergence: 0 Elders → founder sole substitute; 1–4 → founder + all Elders unanimous; 5+ → founder + Elder 3/3; mature → Elder unanimous alone, founder confirmation optional.

ε

Founder-Capture Mitigation ὀκτὼ στρώματα

The Founder is a bounded-trust role — seven procedural layers plus one economic. Each independently damage-limiting; the combination bounds a captured founder to one bounded-scope action before elevated demotion catches up.

Ι
Multi-sig
Founder is K-of-N (e.g. 3-of-5) with voluntary key rotation. Single-key compromise insufficient to act.
ΙΙ
Bounded scope
Powers enumerated in the contract — bootstrap grants + emergency freeze only. Cannot draw treasury or change parameters.
ΙΙΙ
Announcement delay
Actions announced but not executed for ~1 week (CLTV). Community has a window to react before any effect.
ΙV
Elder freeze
Elder quorum freezes any pending founder action. Frozen actions route to community vote for ratification or rejection.
V
Elevated demotion
Strict 21-mode (~71%) in both random chambers + Elder unanimous (3/3). A single dissenting Elder blocks.
VΙ
Confession requirement
Every founder action carries publicly-readable rationale. Hidden or unmotivated actions detectable immediately.
VΙΙ
On-chain action log
All actions queryable forever. Reputation-cost mechanism; cannot deny prior actions.
VΙΙΙ
Removal-bond economics
Bond formula base · N · log₂(N) · rankMult. Failed capture attempts route 30% to defender + 70% to treasury.
στ

Anti-Plutocracy δύο μηχανισμοί

Two orthogonal mechanisms composing multiplicatively. An attacker must defeat both to buy majority — they cannot forge identities cheaply and cannot stack votes per identity cheaply.

Layer 1 · Qualification
Bicameral sortition
One-time pool-corruption
+ per-identity stochastic burn
3 independent gates
×
Layer 2 · Vote weight
EscalatingVoteNFT
Vote N costs
baseBacking · 10N−1
only baseBacking recoverable
=
Composition
Multiplicative
Capital AND social-graph
AND time AND no-detection
— simultaneously
Vector A — Attacker Majority capture (~751 sybil admissions): $50M – $500M+ over 5–10 years …with rollback risk if pattern analysis flags the cluster.
Token-DAO comparable Capture $100M-FDV token-weighted DAO: $51M in days …no rollback risk. Cost ratio 10–100× worse for the Athenae attacker; time horizon 100–1000× longer.

Math note An earlier version of this framing quoted "~870 bribes per identity, three orders of magnitude vs KYC." That was wrong — it conflated one-time capability cost with per-identity stochastic cost. The corrected claim is the 10–100× cost ratio combined with 100–1000× time horizon product, arising from the multiplicative composition above.

ζ

Three Integrity Layers τρία στρώματα

Any voting system has three attack surfaces. Athenae is the first to remove all three from trusted intermediaries — the first with cryptographic integration at every layer.

1 · Qualification

Who is allowed to vote?
Failure if captured Registrar admits illegitimate voters, allows double-voting, excludes eligible voters.
Athenae closes it Bicameral sortition machinery — 15 endorsements + 15-of-29 sortitioned Polites + 15-of-29 sortitioned Bouleutai. No registrar. Immutable.

2 · Counting

Who counts the votes?
Failure if captured Counter miscounts by fraud, selective inclusion, stops the count early, recounts until target result.
Athenae closes it Diapsephisis — TallyState covenant. The chain counts as votes confirm. No counting authority; no intermediary.

3 · Presentation

Who displays the results?
Failure if captured Presenter announces false totals, calls election early, refuses detailed disclosure.
Athenae closes it Permissionless close(); covenant state is the result. No announcement layer. Wallets surface, never assert.
η

Status κατάστασις

Chipnet-validated substrate; specified but not yet implemented in specific components; open questions where the mechanism requires further design.

Chipnet-validated ✓

  • PollCovenant · TallyState · StakeVoteTote (primitives)
  • ApplicationCovenant Phases A → E (bicameral + cap + fee + secret ballot)
  • CitizenToken · RegistryState · BallotCovenant
  • ElderFreezeAction · ComplaintCovenant
  • EndorsementCovenant (on-chain pre-gate)
  • DRA curve spectrum (linear, ×2, ×10, step, super-exp)

Specified 🔧

  • CLTV announcement delays (founder Layer 3)
  • Strict 3/3 Elder unanimous freeze (MVP uses 2)
  • Elevated demotion path fully on-chain
  • Per-complainer geometric fee ramp
  • Treasury routing (RemovalBondEscrow / TreasuryVault)
  • Lazy-voter detection instrumentation
  • Canonical templates + dApp UI + regulatory pass (Phase G)

Open questions ?

  • Open 1p1v proof-of-personhood scheme (trust trade-offs)
  • Endorser-uniqueness enforcement (currently detectable post-hoc)
  • "Significant poll" classification boundary for Elder confirmation
  • Adaptive uniqueness schedule for pre-gate ("difficulty adjustment")
  • Sortition-pool stress testing at low N